The bill passed by the New York City Council was the latest in a series of steps to ease cannabis restrictions as efforts to legalize marijuana have stalled.