Lawmakers on Thursday voted to pass a bill to give Guam Memorial Hospital another $40 million to pay its past-due bills, fix dangerous electrical issues, and deal with other infrastructure problems.