NY attorney general reaches agreement with Brooklyn Diocese on its handling of abuse claims