A vacant farmhouse will be flattened and four new homes built in its place if plans submitted to Scottish Borders Council are agreed.