Plan to bolster flood defences to protect Canvey Island in Essex will cost more than £40 million – and be fully funded by government.