Facebook to block discriminatory ads in ‘historic’ legal accord; says won’t allow targeting on age, gender and location