In a 6-3 decision, the court ruled that neither federal law nor the Constitution shields military contractors if their mistakes or negligence result in solders being injured in a combat zone.