Cornwall to get just £3m replacement funding after leaving EU