The landmark settlements will resolve allegations from multiple US states that the company purposefully designed Facebook and Instagram to encourage compulsive use among youths