An extra $3.5 billion in federal cash will be ponied up by the Albanese government after protracted public school funding negotiations with two hold-out states.