Japan Airways is demanding nearly $8 million in compensation after battery problems led to the grounding of Dreamliner 787s last month.