North Yorkshire County Council has agreed nearly £2m of additional funding towards remedial work on piers and coastal protection.