Spectroscopy of four metal-poor galaxies beyond redshift ten