An "almost derelict" commercial block in Radcliffe will be transformed into 18 new apartments after Bury Council approved new plans.