I am buying the house next door in order to extend my home.

The higher rates will apply as following the purchase you will own an additional residential property and is this is not replacing your main residence.  Unfortunately, a refund of the higher rates cannot be claimed once the properties have been merged as refunds are only available where a previous main residence has been disposed of.