Tunable spin-dependent splitting of light beam in a chiral metamaterial slab