Pagination: Improve focus-related logic for disabled navigation links

* Set tabIndex to -1 on disabled navigation links
* Restore focus accordingly based on what was focused and what is now disabled