WASHINGTON, Feb. 5 – The House has approved a measure calling for the government to contest a federal court decision that educational institutions have a First Amendment right to keep military recruiters off their campuses to protest the policy of excluding gays from military service.