Senate reaches deal on student loans