Sri Lanka's state defence minister says there was a 'major lapse' in intelligence sharing and attacks 'could have been avoided'.