Sri Lanka PM admits prior warnings about attacks