California lawmakers on Wednesday authorized spending millions of dollars to support people who travel from other states