Meta settles with the states over child safety failures