fix($location/$browser): prevent infinite digests on empty hash changes