The state House and Senate struck a deal that would repeal limits imposed in May on the Virginia Military Survivors and Dependents Program, which offers millions of dollars in tuition support to students with military connections.