Towards resolution of anisotropic cosmological singularity in infinite derivative gravity