The government has tried to ram dozens of bills through the Senate on the final parliamentary sitting day of the year.