fixed a bug in the branch length scaler optimization procedure that only occured
on unpartitioned datasets.