Contentious ‘Job-Ready Graduates’ legislation passes Senate but opposition warns it will lead to US-style debt