The federal government and Northrop Grumman Corp. have agreed to collectively shell out $64.5 million to a pair of Long Island water districts to put to rest litigation over groundwater contamination in New York state, according to proposed agreements filed in Empire State federal court Monday.