Kyiv agrees to allow Warsaw to investigate mass graves where Polish nationals were buried