A Blackpool man has been jailed over historic sexual assaults on a four-year-old girl.