Senate gives final passage to controversial state budget