A law firm with offices across East Lancashire has decided to close some town centres offices and relocate to a new hub in Altham.