Use buildmer to perform stepwise elimination of mixed-effects models fit via lme from nlme
buildmer
lme
nlme
Useful links