18 states, including Mass., file motion challenging ruling striking down Affordable Care Act