State moving closer to all-payer deal with feds