Fix histogramdd treatment of events at rightmost binedge

This fixes the treatment of values very close to the rightmost binedge in historgramdd. It makes sure values are greater or equal to the bin edge (if they are smaller they will already be in the correct bin), before moving them one bin left.
Fixes Github issue #4266