Trump threatens to veto $1.3tn spending bill

President raises risk of government shutdown only hours after Congressional compromise