Judge gives Medicines Co. another chance