A Massachusetts bill aimed at recasting the state's gun laws in the wake of last month's Supreme Court ruling making it harder for states to limit access to firearms was approved by lawmakers Monday.