Pakistan batter Babar Azam has been ruled out of the first Test against Bangladesh in Dhaka due to a knee injury, with team doctors continuing to monitor his condition.