Cumbria is set to benefit from £16 million to unlock thousands of stalled homes.