fixed bug in face detector's rectangle grouping algorithm, reported by Irina K

Also tried to fix LBP detector regression in quality (probably it does not help but still ...)
check_regression=*Cascade*