Adaptation of asexual populations under Muller’s ratchet