NSW abortion bill passed by parliament