added compact method to Mojo::Collection