Student loan deal emerges in Senate