A bill aimed at making it harder for past presidents to avoid state prosecution if accused of criminal wrongdoing has garnered the approval of New York's upper legislative branch.