Hundreds of people may have been killed in a suspected Boko Haram attack on four villages in northeast Nigeria, a local lawmaker and residents said on Thursday.