Both fall short of centuries but 126-run stand repels Leicestershire after early successes