Apple wins some and loses some in big Epic Games lawsuit