The Supreme Court on Monday scaled back a controversial legal test that has made it difficult to challenge patents on new products.