Pagination: Improve focus-related logic for navigation

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