Z boson production in bottom-quark fusion: a study of b-mass effects beyond leading order