Faced with potentially losing billions, colleges rallied behind a compromise plan. It now has a thumbs-up from Congress.