House reaches charter schools compromise