Attack on Nigeria jail frees 575 detainees